package main

import (
	"Alpaca/conf"
	"Alpaca/console"
	"Alpaca/log"
	"os"
	"os/signal"
	"syscall"
)

func main() {
	conf.ConsolePort = 9090
	conf.ConsolePrompt = "> "
	conf.ProfilePath = "."

	console.Init()
	defer console.Destroy()

	sigs := make(chan os.Signal, 1)
	signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)

	sig := <-sigs
	log.Debug("Received signal: %v, shutting down...\n", sig)
}
